package com.cloudlead.commonData.query;

import static com.mysema.query.types.PathMetadataFactory.*;
import com.cloudlead.commonData.entity.EWechatlog;


import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;

import com.mysema.query.sql.ColumnMetadata;
import java.sql.Types;

import com.mysema.query.sql.*;

import com.cloudlead.common.lang.annotation.Label;


/**
 * QWechatlog is a Querydsl query type for EWechatlog
 */
@Label("Wechatlog查询")
@Generated("com.cloudlead.utils.persistence.codegen.serializer.SimpleMetaDataSerializer")
public class QWechatlog extends RelationalPathBase<EWechatlog> {

    private static final long serialVersionUID = -1890598955;

    public static final QWechatlog wechatlog = new QWechatlog("wechatlog");

    public class PrimaryKeys {

        public final PrimaryKey<EWechatlog> primary = createPrimaryKey(id);

    }

    public final StringPath active = createString("active");

    public final StringPath containerNo = createString("containerNo");

    public final StringPath driverName = createString("driverName");

    public final StringPath id = createString("id");

    public final DateTimePath<org.joda.time.DateTime> nowTime = createDateTime("nowTime", org.joda.time.DateTime.class);

    public final StringPath tel = createString("tel");

    public final PrimaryKeys pk = new PrimaryKeys();

    public QWechatlog(String variable) {
        super(EWechatlog.class, forVariable(variable), "null", "wechatlog");
        addMetadata();
    }

    public QWechatlog(String variable, String schema, String table) {
        super(EWechatlog.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QWechatlog(Path<? extends EWechatlog> path) {
        super(path.getType(), path.getMetadata(), "null", "wechatlog");
        addMetadata();
    }

    public QWechatlog(PathMetadata<?> metadata) {
        super(EWechatlog.class, metadata, "null", "wechatlog");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(active, ColumnMetadata.named("active").withIndex(5).ofType(Types.VARCHAR).withSize(500));
        addMetadata(containerNo, ColumnMetadata.named("containerNo").withIndex(6).ofType(Types.VARCHAR).withSize(50));
        addMetadata(driverName, ColumnMetadata.named("driverName").withIndex(2).ofType(Types.VARCHAR).withSize(50));
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.CHAR).withSize(24).notNull());
        addMetadata(nowTime, ColumnMetadata.named("nowTime").withIndex(4).ofType(Types.TIMESTAMP).withSize(19));
        addMetadata(tel, ColumnMetadata.named("tel").withIndex(3).ofType(Types.VARCHAR).withSize(20));
    }

}

